package com.his.dao.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author fall
 * @since 2022-11-28
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_menu")
@ApiModel(value = "Menu对象", description = "")
public class Menu extends Model<Menu> {

    private static final long serialVersionUID = 1L;


    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    @TableField("parent_id")
    private Integer parentId;

    @TableField("path")
    private String path;

    @TableField("name")
    private String name;

    @TableField("title")
    private String title;

    @TableField("icon")
    private String icon;

    @TableField("component")
    private String component;

    @TableField("is_open")
    private Integer isOpen;

    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

}
